﻿CREATE PROCEDURE [dbo].[proc_RefeicoesDelete]
(
	@IdRefeicaoContratada bigint,
	@DataRefeicao date
)
AS
BEGIN

	SET NOCOUNT OFF
	DECLARE @Err int

	DELETE
	FROM [Refeicoes]
	WHERE
		[IdRefeicaoContratada] = @IdRefeicaoContratada AND
		[DataRefeicao] = @DataRefeicao
	SET @Err = @@Error

	RETURN @Err
END
